﻿<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.evolutility.com" title="生产单录入" icon="cube.gif" description="">
  <data dbtable="MRP_DailyReport" splogin="asp.net membership" dbcolumnpk="ID" sppaging="EvoSP_PagedItem @SQLselect, @SQLtable, @SQLfrom, @SQLwhere, @SQLorderby, @SQLpk, @pageid, @pagesize" />
  <panel userid="1" ppos="1" label="生产日报" width="100">
    <field id="85" type="lov" typeid="5" htmlcontrol="textselect" label="分框编码" dependency="ProcessType;ProduceQuantity" dbtablelov="MRP_DailyProduceBatch" dbwherelovinsert="MRP_DailyProduceBatch.IsCompleted='0'" dbcolumnreadlov="BatchCode" dbcolumn="BatchID" dbcolumnread="BatchCode" maxlength="12" readonly="2" required="1" optional="" fpos="10" search="1" searchadv="1" searchlist="1" height="1" width="30" />
    <field id="155" type="lov" typeid="5" label="工序名称" dbcolumn="ProcessType" dbcolumnread="DisplayText"
   dbtablelov="View_ProcessName_List" dbcolumnreadlov="DisplayText" maxlength="0" readonly="2" required="1" optional="" fpos="30" search="0" searchadv="1" searchlist="1" height="1" width="70" />
    <field id="1471" type="integer" typeid="10" label="完成数量" jsvalidation="MyMRP.check_DailyReport" dbcolumn="ProduceQuantity" dbcolumnread="ProduceQuantity" maxlength="8" readonly="2" required="1" optional="" fpos="30" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="1472" type="integer" typeid="10" label="不良品数量" defaultvalue="0" dbcolumn="DefectiveQuantity" dbcolumnread="DefectiveQuantity" maxlength="8" readonly="0" required="1" optional="" fpos="30" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="1473" type="integer" typeid="10" label="返修数量" defaultvalue="0" dbcolumn="ReworkQuantity" dbcolumnread="ReworkQuantity" maxlength="8" readonly="0" required="1" optional="" fpos="30" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="1474" type="integer" typeid="10" label="报废数量"  jsvalidation="MyMRP.check_DailyReport" defaultvalue="0" dbcolumn="RejectQuantity" dbcolumnread="RejectQuantity" maxlength="8" readonly="2" required="1" optional="" fpos="30" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="149" type="date" typeid="17" label="生产日期" defaultvalue="_now" format="{0:d}" dbcolumn="ProduceDate" dbcolumnread="ProduceDate" maxlength="4" readonly="2" required="" optional="" fpos="50" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="1554" type="textmultiline" typeid="6" label="备注" dbcolumn="Notes" dbcolumnread="Notes" maxlength="256" readonly="0" required="" optional="" fpos="30" search="0" searchadv="1" searchlist="1" height="3" width="100" />
  </panel>
</form>
